import request from '../http'
import requestUrl from '../requestUrl'
import requestParam from '../requestParam'
import isInteger from 'lodash/isInteger'
/**
 *获取用户菜单
 */
export function getMenus(params) {
  return request({
    url:requestUrl('/user/getMenus/'+params),
    method:'post'
  });
}
/**
 * 重置密码
 */
export function resetPassword(params) {
  return request.post(requestUrl('user/resetPassword'), params);
}
/**
 * 根据id查找用户详细信息 /user/findOneById
 */
export function findOneById(params){
  return request({
    url:requestUrl('/user/findOneById/'+params),
    method:'post'
  })
}
